export function splitNum() {
  const num = '1000000'

  const obj = {
    n1: '',
    n2: '',
    n3: '',
    n4: '',
    n5: '',
    n6: '',
    n7: '',
    n8: '',
    n9: '',
    n10: '',
    n11: '',
    n12: '',
  }
  const numArr = [
    'n1',
    'n2',
    'n3',
    'n4',
    'n5',
    'n6',
    'n7',
    'n8',
    'n9',
    'n10',
    'n11',
    'n12',
  ]

  for (let index = 0; index < num.length; index++) {
    const item = num[index]
    obj[numArr[index]] = item
  }

  console.log(obj)
}
